
var Slider1=document.getElementById('sliderValue1');
            var Slider2=document.getElementById('sliderValue2');
            var Slider3=document.getElementById('sliderValue3');
            var Slider4=document.getElementById('sliderValue4');
            var Slider5=document.getElementById('sliderValue5');
            var Slider6=document.getElementById('sliderValue6');
            var Pwm = new Array();
            for(var i=0;i<6;i++)
            {
                Pwm[i]=80;        
            }
function Getupdate(){
    //解析数据然后再进行初始化
    weui.slider('#slider1', {
                step: 1,
                defaultValue: Pwm[0],
                onChange: function(percent){
                    Slider1.innerHTML=Pwm[0]=parseInt(percent);
                }
            });
             weui.slider('#slider2', {
                step: 1,
                defaultValue: Pwm[1],
                onChange: function(percent){
                    Slider2.innerHTML=Pwm[1]=parseInt(percent);
                }
            });
         weui.slider('#slider3', {
                step: 1,
                defaultValue: Pwm[2],
                onChange: function(percent){
                    Slider3.innerHTML=Pwm[2]=parseInt(percent);
                }
            });
         weui.slider('#slider4', {
                step: 1,
                defaultValue: Pwm[3],
                onChange: function(percent){
                    Slider4.innerHTML=Pwm[3]=parseInt(percent);
                }
            });
         weui.slider('#slider5', {
                step: 1,
                defaultValue: Pwm[4],
                onChange: function(percent){
                    Slider5.innerHTML=Pwm[4]=parseInt(percent);
                }
            });
         weui.slider('#slider6', {
                step: 1,
                defaultValue: Pwm[5],
                onChange: function(percent){
                    Slider6.innerHTML=Pwm[5]=parseInt(percent);
                }
            });
}
function Setupdate()
{
    
    $.get("http://api.easylink.io/v2/users/info", function(result){
    
  });
//     $.ajax({
//        
//          headers: {
//              "api-key":"kkA7dJCZcMOAqITQ3r=bXWTikeI="
//          },
//          url: "https://api.heclouds.com/register_de",
//            type: "POST",
//         data:"register_code=6TM1OkhNsTjATvFx",
//          success: function(data) {
//          },
//          error: function(err) {
//          },
//          complete: function(XMLHttpRequest, status) { //请求完成后最终执行参数　
//          }
//      })
      

}